home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / print / p821_26a.zip / PRINTME.BAT < prev    next >
DOS Batch File  |  1996-02-10  |  1KB  |  49 lines

  1. @echo off
  2. echo.
  3. echo ╔════════════════════════════════════════════════════════════╗
  4. echo ║  Welcome to the P821 demo, it will print out the manual !  ║
  5. echo ╚════════════════════════════════════════════════════════════╝
  6. echo.
  7. :ask_lj
  8. echo.
  9. echo Will you print on a DeskJet or on a LaserJet4? [d,l]
  10. ask.com
  11. echo.
  12. if errorlevel 109 goto ask_lj
  13. if errorlevel 108 goto LaserJet
  14. if errorlevel 101 goto ask_lj
  15. if errorlevel 100 goto DeskJet
  16. goto ask_lj
  17. :LaserJet
  18. set LJ4=/q4
  19. :DeskJet
  20.  
  21. :ask_us
  22. echo.
  23. echo You've probably loaded US Letter media, right? [y,n]
  24. ask.com
  25. echo.
  26. if errorlevel 122 goto ask_us
  27. if errorlevel 121 goto USLetter
  28. if errorlevel 111 goto ask_us
  29. if errorlevel 110 goto DINA4
  30. goto ask_us
  31. :USLetter
  32. set USLetter=/u
  33. :DINA4
  34.  
  35. if "%USLetter%%LJ4%"=="" goto clear
  36. echo.
  37. echo I'll store the info given above to a configuration
  38. echo file P821.CFG. This options will be mentioned to
  39. echo all subsequent jobs of P821! [any key]
  40. ask.com
  41. echo.
  42. del P821.CFG >nul
  43. echo %USLetter%%LJ4%>P821.CFG
  44. :clear
  45. set USLetter=
  46. set LJ4=
  47.  
  48. P821 /4 /h"Documentation P821 V2.6" P821.DOC
  49.